let data = Mock.mock({
    "list|8": [
        {
            "id|+1": 1,
            "email": "@email",
            "name": "@cname",
            "phone|13000000000-19999999999": 1,
            "group|+1": ["保全组", "研发组", "测试组", "产品组"],
            "isadmin|1": true,
            "state|1": true,
            "operation": `<span class="iconfont icon-bianji"></span>&emsp;<span class="iconfont icon-shanchu"></span>`
        }
    ]
})
let str = data.list.map((item, index) => {
    return `<tr>
        <td>${item.email}</td>
        <td>${item.name}</td>
        <td>${item.phone}</td>
        <td>${item.group}</td>
        <td>${item.isadmin ? "是" : "否"}</td>
        <td class="backgr">${item.state ? "正常" : "不正常"}</td>
        <td>${item.operation}</td>
    </tr>`
}).join('');
